﻿using BLWCMS.Core.IBusiness;

namespace BLWCMS.Web.Modules
{
    public class MaterialModule:BaseModule
    {
        private readonly IMaterialBusiness _materialBusiness;

        public MaterialModule(IMaterialBusiness materialBusiness) : base("/material", true)
        {
            _materialBusiness = materialBusiness;

            Get["/"] = p => GetIndex();
        }

        private dynamic GetIndex()
        {
            return View["Index"];
        }
    }
}